package com.example.moban.api;

import com.rzhd.coursepatriarch.common.api.base.BaseHttpRequest;
import com.rzhd.coursepatriarch.common.api.common.RetrofitFactory;

import java.util.Map;

import io.reactivex.Observer;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.http.FieldMap;

/**
 * @author hu
 * @date: 2018/10/9.
 */
public class HuRequest extends BaseHttpRequest<HuService> {

    private static HuRequest instance;
    private HuService mService;

    public HuRequest() {
        mService = RetrofitFactory.getInstance().getRetrofit().create(HuService.class);
    }

    public static HuRequest getInstance() {
        if (instance == null) {
            synchronized (HuRequest.class) {
                if (instance == null) {
                    instance = new HuRequest();
                }
            }
        }
        return instance;
    }

    public HuService getService() {
        return mService;
    }

    /**
     * 获取短信验证码
     * @param observer
     */
    public void getCode( String tel , String type , Observer<String> observer ){
        setSubscribe(mService.getCode( tel , type ), observer);
    }

    /**
     * 地区列表
     * @param observer
     */
    public void getAreaList(  Observer<String> observer ){
        setSubscribe(mService.getAreaList(), observer);
    }

    /**
     * 登录、注册
     *
     * @param observer
     */
    public void login( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.login( params ), observer);
    }

    /**
     * 验证码登录
     *
     * @param observer
     */
    public void codeLogin( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.codelLogin( params ), observer);
    }

    /**
     * 注册
     *
     * @param observer
     */
    public void register( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.register( params ), observer);
    }

    /**
     * 忘记密码重置
     *
     * @param observer
     */
    public void forgetPass( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.forgetPass( params ), observer);
    }

    /**
     * 查询学校
     *
     * @param observer
     */
    public void inquirySchoolByPhone( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.inquirySchoolByPhone( params ), observer);
    }

    /**
     * 加入学校
     *
     * @param observer
     */
    public void followSchool( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.followSchool( params ), observer);
    }







    /**
     * 微信快捷登录
     *
     * @param observer
     */
    public void weiXinLogin( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.weiXinLogin( params ), observer);
    }

    /**
     * 获取个人中心信息接口
     *
     * @param observer
     */
    public void getPersonCenterInfo( String userId , String mechanismId ,Observer<String> observer) {
        setSubscribe(mService.getPersonCenterInfo( userId, mechanismId ), observer);
    }

    /**
     * 获取用户信息接口
     * @param userId
     * @param observer
     */
    public void getUerInfo( String userId ,Observer<String> observer) {
        setSubscribe(mService.getUerInfo( userId ), observer);
    }

    /**
     * 获取用户信息接口
     * @param params
     * @param observer
     */
    public void updateUserInfo( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.updateUserInfo( params ), observer);
    }

    /**
     * 修改手机号1
     * @param params
     * @param observer
     */
    public void updateTelOne( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.updateTelOne( params ), observer);
    }

    /**
     * 修改手机号2
     * @param params
     * @param observer
     */
    public void updateTelTwo( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.updateTelTwo( params ), observer);
    }

    /**
     * 家庭成员列表
     * @param params
     * @param observer
     */
    public void getMemberFamily( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getMemberFamily( params ), observer);
    }

    /**
     * 我的宝贝
     * @param userId
     * @param observer
     */
    public void getBabyList( String userId ,Observer<String> observer) {
        setSubscribe(mService.getBabyList( userId ), observer);
    }

    /**
     * 家长我的学习
     * @param params
     * @param observer
     */
    public void getCourseStudyMap( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getCourseStudyMap( params ), observer);
    }



    /**
     * 根据垃圾查询搜索记录（最近5条）
     * @param params
     * @param observer
     */
    public void getGarbageHistory( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getGarbageHistory( params ), observer);
    }

    /**
     * 删除搜索记录（最近5条）
     * @param params
     * @param observer
     */
    public void deleteGarbageHistory( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.deleteGarbageHistory( params ), observer);
    }


    /**
     * 查询垃圾分类列表
     * @param params
     * @param observer
     */
    public void getGarbage( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getGarbage( params ), observer);
    }

    /**
     * 根据垃圾分类标签获取数据接口
     * @param params
     * @param observer
     */
    public void getGarbageRecom( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getGarbageRecom( params ), observer);
    }

    /**
     * 获取垃圾分类百科信息接口
     * @param params
     * @param observer
     */
    public void getGarbageImage( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getGarbageImage( params ), observer);
    }




    /**
     * 家长我的收藏
     * @param params
     * @param observer
     */
    public void getMyCollectList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getMyCollectList( params ), observer);
    }

    /**
     * 获取历史课程
     * @param params
     * @param observer
     */
    public void getHistoryCourseList( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.getHistoryCourseList( params ), observer);
    }

    /**
     * 今日更新and课程预告
     * @param params
     * @param observer
     */
    public void getTodayUpdateAndTrailer( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.getTodayUpdateAndTrailer( params ), observer);
    }

    /**
     * 获取家长免费课程列表（试听课程）
     * @param params
     * @param observer
     */
    public void getFreeCourseList( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.getFreeCourseList( params ), observer);
    }

    /**
     * 添加宝宝提交
     * @param params
     * @param observer
     */
    public void addBabySubmit( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.addBabySubmit( params ), observer);
    }

    /**
     * 编辑宝宝回显
     * @param params
     * @param observer
     */
    public void updateBaby( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.updateBaby( params ), observer);
    }

    /**
     * 修改紧急联系人
     * @param params
     * @param observer
     */
    public void upJinJiParent( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.updateJinJiParent( params ), observer);
    }

    /**
     * 加入班级圈
     * @param params
     * @param observer
     */
    public void addClassCircle( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.addClassCircle( params ), observer);
    }

    /**
     * 首页-机构列表
     * @param userId
     * @param observer
     */
    public void getMechanismList( String userId ,Observer<String> observer) {
        setSubscribe(mService.getMechanismList( userId ), observer);
    }

    /**
     * 首页-班级列表
     * @param params
     * @param observer
     */
    public void getClassList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getClassList( params ), observer);
    }

    /**
     * 首页-班级详情
     * @param params
     * @param observer
     */
    public void getClassDetails( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getClassDetails( params ), observer);
    }

    /**
     * 班级动态-列表
     * @param params
     * @param observer
     */
    public void getClassDynamic( Map<String , Object> params,Observer<String> observer) {
        setSubscribe(mService.getClassDynamic( params ), observer);
    }

    /**
     * 班级动态-标签列表
     * @param observer
     */
    public void getLabelList( Observer<String> observer) {
        setSubscribe(mService.getLabelList( ), observer);
    }

    /**
     * 班级动态-点赞/取消点赞
     * @param observer
     */
    public void changeLike( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.changeLike( params ), observer);
    }

    /**
     * 获取课程类型list
     * @param observer
     */
    public void getCourseTypeList( Observer<String> observer) {
        setSubscribe(mService.getCourseTypeList( ), observer);
    }

    /**
     * 获取家长套餐里的课程列表
     * @param observer
     */
    public void getPatriarchCourseList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getPatriarchCourseList( params ), observer);
    }

    /**
     * 获取家长套餐里的课程详情
     * @param observer
     */
    public void getPackageCourseDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getPackageCourseDetail( params ), observer);
    }



    /**
     * 获取家长用户具体的订单信息
     * @param observer
     */
    public void parentOrderInfo( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.parentOrderInfo( params ), observer);
    }

    /**
     * 通过订单号查询家长订单详情
     * @param observer
     */
    public void parentOrderInfoByCode( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.parentOrderInfoByCode( params ), observer);
    }

    /**
     * 版本更新
     * @param observer
     */
    public void getVersionTypeApiList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getVersionTypeApiList( params ), observer);
    }

    /**
     * 启动页管理
     * @param observer
     */
    public void getStartPageApiList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getStartPageApiList( params ), observer);
    }

    /**
     * 支付接口 (支付宝可用)
     * @param observer
     */
    public void getPayParentOrder( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getPayParentOrder( params ), observer);
    }

    /**
     * 上传图片接口
     * @param observer
     */
    public void fileUpload(MultipartBody.Part[] parts  , Map<String, RequestBody> params  , Observer<String> observer) {
        setSubscribe(mService.fileUpload( parts , params), observer);
    }

    /**
     * 模糊搜索学校列表
     */
    public void selectMechanismName( @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.selectMechanismName( params ), observer);
    }

    /**
     * 模糊搜索班级列表
     */
    public void selectClassName( @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.selectClassName( params ), observer);
    }

    /**
     * 修改宝宝头像/姓名提交
     */
    public void updateBabyPhoto( @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.updateBabyPhoto( params ), observer);
    }

    /**
     * 获取家长专题课程课程列表
     */
    public void listSpecialCourse(  Observer<String> observer) {
        setSubscribe(mService.listSpecialCourse( ), observer);
    }

    /**
     * 班级动态-评论
     */
    public void sendEvaluateDynamic(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.sendEvaluateDynamic( params ), observer);
    }

    /**
     * 班级动态-展开评论(返回的是所有的评论)
     */
    public void openComments(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.openComments( params ), observer);
    }

    /**
     * 我的评论
     */
    public void getMyCommentApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMyCommentApiList( params ), observer);
    }

    /**
     * 评论列表
     */
    public void getCommentApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getCommentApiList( params ), observer);
    }

    /**
     * 添加评论或回复评论
     */
    public void addAppComment(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.addAppComment( params ), observer);
    }

    /**
     * 查看回复
     */
    public void getCommentByIdApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getCommentByIdApiList( params ), observer);
    }

    /**
     * 添加点赞或者取消点赞
     */
    public void addAppCommentFabulous(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.addAppCommentFabulous( params ), observer);
    }

    /**
     * 我的评论 - 动态评论
     */
    public void getMyDynamicReviewList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMyDynamicReviewList( params ), observer);
    }

    /**
     * 删除动态评论
     */
    public void deleteMyDynamicReview(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.deleteMyDynamicReview( params ), observer);
    }

    /**
     * 开屏广告
     */
    public void getOpenAdApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getOpenAdApiList( params ), observer);
    }

    /**
     * 家长收藏/取消收藏课程
     */
    public void collectCourse(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.collectCourse( params ), observer);
    }



    /**
     * 获取家长直播列表
     */
    public void getParentLiveList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getParentLiveList( params ), observer);
    }

    /**
     * 直播详情
     */
    public void getParentLiveDetail(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getParentLiveDetail( params ), observer);
    }

    /**
     * 学习之星
     */
    public void getStudyStartList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getStudyStartList( params ), observer);
    }

    /**
     * 积分记录
     */
    public void getUserIntegralRecordApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserIntegralRecordApiList( params ), observer);
    }

    /**
     * 用户签到页面
     */
    public void getUserSignInApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserSignInApiList( params ), observer);
    }

    /**
     * 签到
     */
    public void getUserSignRecordApi(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserSignRecordApi( params ), observer);
    }

    /**
     * 签到
     */
    public void getUserSignRecordApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserSignRecordApiList( params ), observer);
    }

    /**
     * 问题反馈
     */
    public void addFeedback(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.addFeedback( params ), observer);
    }

    /**
     * 班级通知列表
     */
    public void noticeClassReadList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.noticeClassReadList( params ), observer);
    }

    /**
     * 用户通知列表
     */
    public void getUserMessageApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserMessageApiList( params ), observer);
    }

    /**
     * 家长学习排行榜
     */
    public void getStudyRankingList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getStudyRankingList( params ), observer);
    }

    /**
     * 课程是否过期
     */
    public void isExpire(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.isExpire( params ), observer);
    }

    /**
     * 获取客服电话
     */
    public void getServicePhone(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getServicePhone( params ), observer);
    }

    /**
     * 学习课程获取积分
     */
    public void getUserIntegralCourseIdApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserIntegralCourseIdApiList( params ), observer);
    }

    /**
     * 学习之星奖励列表
     */
    public void getUserIntegralStarApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserIntegralStarApiList( params ), observer);
    }

    /**
     * 通知消息已读接口
     */
    public void getUserMessageMessageIdApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getUserMessageMessageIdApiList( params ), observer);
    }

    /**
     * 班级通知-设置为已读
     */
    public void noticeClassSetRead(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.noticeClassSetRead( params ), observer);
    }

    /**
     * 分享
     */
    public void getShareData(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getShareData( params ), observer);
    }

    /**
     * 绑定微信
     */
    public void bindWx(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.bindWx( params ), observer);
    }

    /**
     * 解除微信绑定
     */
    public void relieveWx(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.relieveWx( params ), observer);
    }

    /**
     * 有赞登录
     */
    public void getYouZanLoginApiList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getYouZanLoginApiList( params ), observer);
    }

    /**
     * 根据地区id 搜索学校(机构)列表
     */
    public void selectMechanismList(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.selectMechanismList( params ), observer);
    }

    /**
     * 查询 班级动态未读 班级通知未读 消息未读
     */
    public void getMsgNum(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMsgNum( params ), observer);
    }









    /**
     * 设置安全问题
     *
     * @param observer
     */
    public void setProblem( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.setProblem( params ), observer);
    }

    /**
     * 修改用户信息接口
     *
     * @param observer
     */
    public void updateUerInfo( Map<String , Object> prams , Observer<String> observer) {
        setSubscribe(mService.updateUerInfo( prams ), observer);
    }

//    /**
//     * 上传图片接口
//     *
//     * @param observer
//     */
//    public void uploadPicture(MultipartBody.Part[] parts , Map<String, RequestBody> params , Observer<String> observer) {
//        setSubscribe(mService.uploadPicture( parts , params ), observer);
//    }

    /**
     * 获取版本更新信息
     *
     * @param observer
     */
    public void versionUpdate( String type ,  Observer<String> observer) {
        setSubscribe(mService.versionUpdate( type ), observer);
    }

    /**
     * 地区列表-大区-省份-城市
     * @param observer
     */
    public void getRegionList(  Observer<String> observer ){
        setSubscribe(mService.getRegionList( ), observer);
    }

    /**
     * 获取省份城市列表
     * @param observer
     */
    public void getRegionLevelTwoList( Observer<String> observer ){
        setSubscribe(mService.getRegionLevelTwoList( ), observer);
    }

    /**
     * 我的收藏
     * @param observer
     */
    public void getCollectData( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.getCollectData( params ), observer);
    }

    /**
     * 设计师详情
     * @param observer
     */
    public void getDesignerInfo( Map<String, Object> params , Observer<String> observer ){
        setSubscribe(mService.getDesignerInfo( params ), observer);
    }

    /**
     * 设计师的视频和产品
     * @param observer
     */
    public void getDesignerProductAndVideo(  Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.getDesignerProductAndVideo( params ), observer);
    }

    /**
     * 获取地址来源
     * @param observer
     */
    public void getAddress( String type  , Observer<String> observer ){
        setSubscribe(mService.getAddress( type ), observer);
    }

    /**
     * 获取首页视频列表
     * @param observer
     */
    public void getVideoList( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.getVideoList( params ), observer);
    }

    /**
     * 收藏/取消收藏
     * @param observer
     */
    public void setCollection( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.setCollection( params ), observer);
    }

    /**
     * 批量取消收藏
     * @param observer
     */
    public void cancelCollection( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.cancelCollection( params ), observer);
    }

    /**
     * 点赞/取消点赞
     * @param observer
     */
    public void setLike( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.setLike( params ), observer);
    }

    /**
     * 分享
     * @param observer
     */
    public void getShareInfo(  Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.getShareInfo( params ), observer);
    }

    /**
     * 获取微信支付信息
     * @param observer
     */
    public void getWxPayInfo( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.getWxPayInfo( params ), observer);
    }

    /**
     * 获取阿里支付信息
     * @param observer
     */
    public void getAliPayInfo( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.getAliPayInfo( params ), observer);
    }

    /**
     * 分享视频数+1s
     * @param observer
     */
    public void shareVideo( Map<String, Object> params  , Observer<String> observer ){
        setSubscribe(mService.shareVideo( params ), observer);
    }

    /**
     * 获取手机型号列表
     * @param observer
     */
    public void getPhoneTypeList( Observer<String> observer ){
        setSubscribe(mService.getPhoneTypeList( ), observer);
    }

    //=============================二期=======================
    /**
     * 获取院校数据来源
     * @param observer
     */
    public void getSchoolList( Map<String , Object> params , Observer<String> observer ){
        setSubscribe(mService.getSchoolList( params ), observer);
    }

    /**
     * 获取院校数据来源
     * @param observer
     */
    public void publishCoupon( Map<String , Object> params , Observer<String> observer ){
        setSubscribe(mService.publishCoupon( params ), observer);
    }

    /**
     * 我的卡券
     * @param observer
     */
    public void getUserCouponList( Map<String , Object> params , Observer<String> observer ){
        setSubscribe(mService.getUserCouponList( params ), observer);
    }

    /**
     * 获取设计师优惠券列表(店铺优惠券)
     * @param observer
     */
    public void getDiscountCouponList( Map<String , Object> params , Observer<String> observer ){
        setSubscribe(mService.getDiscountCouponList( params ), observer);
    }

    /**
     * 用户领取线上优惠券
     * @param observer
     */
    public void userAddOnlineCoupon( Map<String , Object> params , Observer<String> observer ){
        setSubscribe(mService.userAddOnlineCoupon( params ), observer);
    }

    /**
     * 获取线上优惠券列表
     * @param observer
     */
    public void getOnlineCouponList( Map<String , Object> params , Observer<String> observer ){
        setSubscribe(mService.getOnlineCouponList( params ), observer);
    }

    /**
     * 上传图片接口
     *
     * @param observer
     */
    public void uploadPicture(MultipartBody.Part[] parts , Observer<String> observer) {
        setSubscribe(mService.uploadPicture( parts ), observer);
    }

    /**
     * 图片批量上传接口
     *
     * @param observer
     */
    public void batchUploadPicture(MultipartBody.Part[] parts , Observer<String> observer) {
        setSubscribe(mService.batchUploadPicture( parts ), observer);
    }

    /**
     * 第三方登录
     *
     * @param observer
     */
    public void threeLogin(Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.threeLogin( params ), observer);
    }

    /**
     * 意见反馈
     *
     * @param observer
     */
    public void feedback(Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.feedback( params ), observer);
    }

    /**
     * 更换手机号
     *
     * @param observer
     */
    public void updatePhone(Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.updatePhone( params ), observer);
    }

    /**
     * 领券中心
     *
     * @param observer
     */
    public void getCouponCentreList(Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getCouponCentreList( params ), observer);
    }

    /**
     * 商品评价
     *
     * @param observer
     */
    public void addProductAppraise(Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.addProductAppraise( params ), observer);
    }

    /**
     * 申请售后
     *
     * @param observer
     */
    public void returnApplyByUser(Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.returnApplyByUser( params ), observer);
    }

    /**
     * 资讯列表
     *
     * @param observer
     */
    public void getInformationList(Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getInformationList( params ), observer);
    }

    /**
     * 推荐好物
     *
     * @param observer
     */
    public void recommendGood( Observer<String> observer ) {
        setSubscribe( mService.recommendGood(), observer);
    }

    /**
     * 活动专区列表
     *
     * @param observer
     */
    public void getActivityPrefectureList( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getActivityPrefectureList( params ), observer);
    }

    /**
     * 获取限时折扣专区
     *
     * @param observer
     */
    public void flashSale( Observer<String> observer ) {
        setSubscribe( mService.flashSale(), observer);
    }

    /**
     * 获取热销排行榜列表
     *
     * @param observer
     */
    public void getHotList( Map<String , Object> params  , Observer<String> observer ) {
        setSubscribe( mService.getHotList( params ), observer);
    }

    /**
     * 获取新品首发列表
     *
     * @param observer
     */
    public void getNewProduct( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getNewProduct( params ), observer);
    }

    /**
     * 获取设计师详情页的优惠券
     *
     * @param observer
     */
    public void getDetailCoupon( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getDetailCoupon( params ), observer);
    }

    /**
     * 我的关注-设计师
     *
     * @param observer
     */
    public void getUserAttenList( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getUserAttenList( params ), observer);
    }

    /**
     * 我的粉丝
     *
     * @param observer
     */
    public void getMyFansList( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getMyFansList( params ), observer);
    }

    /**
     * 用户关注、取消关注设计师
     *
     * @param observer
     */
    public void userAttentionDesigner( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.userAttentionDesigner( params ), observer);
    }

    /**
     * 搜索
     *
     * @param observer
     */
    public void search( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.search( params ), observer);
    }

    /**
     * 我的业绩
     *
     * @param observer
     */
    public void getMyPerformance( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getMyPerformance( params ), observer);
    }

    /**
     * 添加视频评论
     *
     * @param observer
     */
    public void addVideoAppraise( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.addVideoAppraise( params ), observer);
    }

    /**
     * 消息中心
     *
     * @param observer
     */
    public void getMessageList( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getMessageList( params ), observer);
    }

    /**
     * 用户是否有未读消息
     *
     * @param observer
     */
    public void getNoReadMessageData( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getNoReadMessageData( params ), observer);
    }

    /**
     * 删除消息
     *
     * @param observer
     */
    public void deleteMessage( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.deleteMessage( params ), observer);
    }

    /**
     * 获取视频一级的评论列表
     *
     * @param observer
     */
    public void getVideoAppraiseList( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getVideoAppraiseList( params ), observer);
    }

    /**
     * 点击视频评论展开二级子评论
     *
     * @param observer
     */
    public void getChildAppraiseList( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.getChildAppraiseList( params ), observer);
    }

    /**
     * 获取广告数据
     *
     * @param observer
     */
    public void getAdvertisingData( Observer<String> observer ) {
        setSubscribe( mService.getAdvertisingData( ), observer);
    }

    /**
     * 通过用户id获取用户信息
     *
     * @param observer
     */
    public void getUserById( String params , Observer<String> observer ) {
        setSubscribe( mService.getUserById( params ), observer);
    }

    /**
     * 记录已观看的视频
     *
     * @param observer
     */
    public void saveLookedVideo( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.saveLookedVideo( params ), observer);
    }

    /**
     * 填写寄件人信息
     *
     * @param observer
     */
    public void addSendInfo( Map<String , Object> params , Observer<String> observer ) {
        setSubscribe( mService.addSendInfo( params ), observer);
    }
    //=============================二期=======================







    /**
     * 通知详情
     * @param params
     * @param observer
     */
    public void getNoticeInfo( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getNoticeInfo( params ), observer);
    }

    /**
     * 根据班主任手机号获取管理的班级接口
     * @param params
     * @param observer
     */
    public void getClassByTel( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getClassByTel( params ), observer);
    }


    /**
     * 家长端 - 根据班级Id查询宝宝接口
     * @param params
     * @param observer
     */
    public void getBabyByClassId( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getBabyByClassId( params ), observer);
    }

    /**
     * 家长端 - 根据宝宝ID查询所有已占用的宝宝关系和是否存在第一联系人
     * @param params
     * @param observer
     */
    public void getRelationshipByBabyId( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getRelationshipByBabyId( params ), observer);
    }



    /**
     * 获取校园风采
     * @param params
     * @param observer
     */
    public void getSchoolElegant( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getSchoolElegant( params ), observer);
    }



    /**
     * 获取校园详情
     * @param params
     * @param observer
     */
    public void getSchoolinfoById( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getSchoolinfoById( params ), observer);
    }

    /**
     * 获取个人信息（无参）
     * @param params
     * @param observer
     */
    public void getUserInfoAgain( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getUserInfoAgain( params ), observer);
    }

    /**
     * 家长端-查询本人加入学校
     * @param params
     * @param observer
     */
    public void getSelectList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getSelectList( params ), observer);
    }

    /**
     * 家长端-取消关注
     * @param params
     * @param observer
     */
    public void removeConcerns( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.removeConcerns( params ), observer);
    }

    /**
     * 获取师资力量
     * @param params
     * @param observer
     */
    public void getSchoolTeacher( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getSchoolTeacher( params ), observer);
    }

    /**
     * 家长端-退出登录
     * @param params
     * @param observer
     */
    public void signOutUser( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.signOutUser( params ), observer);
    }



    /**
     * 家长端获取特色课程信息
     * @param params
     * @param observer
     */
    public void getTeSeList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getTeSeList( params ), observer);
    }


    /**
     * 家长端获取特色课程信息
     * @param params
     * @param observer
     */
    public void getShiTingList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getShiTingList( params ), observer);
    }

    /**
     * 家长端-获取家长的精品课程
     * @param params
     * @param observer
     */
    public void getJingpinList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getJingpinList( params ), observer);
    }

    /**
     * 家长端-获取家长的精品课程
     * @param params
     * @param observer
     */
    public void getJingpinAllList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getJingpinAllList( params ), observer);
    }

    /**
     * 家长端-获取家长的更新课程
     * @param params
     * @param observer
     */
    public void getZuiXinList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getZuiXinList( params ), observer);
    }



    /**
     * 家长端-修改个人资料
     * @param params
     * @param observer
     */
    public void xiuGaiUserInfo( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.xiuGaiUserInfo( params ), observer);
    }




    /**
     * 家长端-选择学校
     * @param params
     * @param observer
     */
    public void putSelectSchool( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.putSelectSchool( params ), observer);
    }


    /**
     * 家长端-查询单条套餐（包含详细目录）
     * @param params
     * @param observer
     */
    public void getCatalogList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getCatalogList( params ), observer);
    }


    /**
     * 添加家长学习课程
     */
    public void addStudyCourse(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.addStudyCourse( params ), observer);
    }

    /**
     * 家长端-验证手机号
     */
    public void checkingPhone(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.checkingPhone( params ), observer);
    }


    /**
     * 家长端-验证登录手机号
     */
    public void checkingLoginPhone(  @FieldMap Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.checkingLoginPhone( params ), observer);
    }



    /**
     * 家长端-分页查询机构优惠活动
     * @param params
     * @param observer
     */
    public void getLatestOffersList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getLatestOffersList( params ), observer);
    }


    /**
     * 家长端-查看机构优惠活动详细信息
     * @param params
     * @param observer
     */
    public void getLatestOffersDetails( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getLatestOffersDetails( params ), observer);
    }

    /**
     * 家长端-新增机构活动感兴趣记录
     * @param params
     * @param observer
     */
    public void addInterestedActivities( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.addInterestedActivities( params ), observer);
    }

    /**
     * 家长端-删除机构活动感兴趣记录
     * @param params
     * @param observer
     */
    public void deleteInterestedActivities( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.deleteInterestedActivities( params ), observer);
    }



    /**
     * 家长端-分页查询文章
     * @param params
     * @param observer
     */
    public void getArticleList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getArticleList( params ), observer);
    }



    /**
     * 家长端-查看文章详细信息
     * @param params
     * @param observer
     */
    public void getArticleDetail( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getArticleDetail( params ), observer);
    }


    /**
     * 家长端-分页查询文章评论
     * @param params
     * @param observer
     */
    public void getArticleCommentList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getArticleCommentList( params ), observer);
    }

    /**
     * 家长端-新增文章评论
     * @param params
     * @param observer
     */
    public void getAddComment( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getAddComment( params ), observer);
    }


    /**
     * 家长端-新增文章观看记录
     * @param params
     * @param observer
     */
    public void addArticleWatcher( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.addArticleWatcher( params ), observer);
    }


    /**
     * 家长端-分页查询本人课程收藏
     * @param params
     * @param observer
     */
    public void getMyVideoCollectList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getMyVideoCollectList( params ), observer);
    }

    /**
     * 家长端-取消课程收藏
     * @param params
     * @param observer
     */
    public void removeVideoFollow( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.removeVideoFollow( params ), observer);
    }


    /**
     * 家长端-分页查询文章
     * @param params
     * @param observer
     */
    public void getMyArticleCollectList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getMyArticleCollectList( params ), observer);
    }


    /**
     *家长端-取消文章收藏
     * @param params
     * @param observer
     */
    public void removeArticleFollow( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.removeArticleFollow( params ), observer);
    }



    /**
     *家长端-分页查询本人课程评论
     * @param params
     * @param observer
     */
    public void getMyVideoCommentList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getMyVideoCommentList( params ), observer);
    }


    /**
     *家长端-删除课程评论
     * @param params
     * @param observer
     */
    public void removeVideoComment( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.removeVideoComment( params ), observer);
    }



    /**
     *家长端-分页查询本人文章评论
     * @param params
     * @param observer
     */
    public void getMyArticleCommentList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getMyArticleCommentList( params ), observer);
    }




    /**
     *家长端-删除文章评论
     * @param params
     * @param observer
     */
    public void removeArticleComment( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.removeArticleComment( params ), observer);
    }



    /**
     *家长端-新增文章收藏
     * @param params
     * @param observer
     */
    public void addArticleFollow( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.addArticleFollow( params ), observer);
    }


    /**
     *家长端-查询课程评论
     * @param params
     * @param observer
     */
    public void getVideoCommentList( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.getVideoCommentList( params ), observer);
    }


    /**
     *家长端-新增课程评论
     * @param params
     * @param observer
     */
    public void addVideoComment( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.addVideoComment( params ), observer);
    }

    /**
     *家长端-新增课程收藏
     * @param params
     * @param observer
     */
    public void addVideoFollow( Map<String , Object> params ,Observer<String> observer) {
        setSubscribe(mService.addVideoFollow( params ), observer);
    }


    /**
     * 获取家长用户的订单列表信息
     * @param observer
     */
    public void getParentOrderList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getParentOrderList( params ), observer);
    }


    /**
     * 移动端-家长端订单详情
     * @param observer
     */
    public void getOrderDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getOrderDetail( params ), observer);
    }



    /**
     * 移动端-家长端去订单支付
     * @param observer
     */
    public void getPayDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getPayDetail( params ), observer);
    }


    /**
     *   移动端-家长端取消定单
     * @param observer
     */
    public void cancelPayOrder( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.cancelPayOrder( params ), observer);
    }

    /**
     * 后台-分页查询套餐价格
     * @param observer
     */
    public void getPiceList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getPiceList( params ), observer);
    }


    /**
     * 移动端-家长分页查询
     * @param observer
     */
    public void getDressList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getDressList( params ), observer);
    }




    /**
     * 移动端-家长新增
     * @param observer
     */
    public void addAdress( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.addAdress( params ), observer);
    }




    /**
     * 移动端-家长设置选中地址
     * @param observer
     */
    public void changeSelectDress( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.changeSelectDress( params ), observer);
    }


    /**
     * 家长端查询多条
     * @param observer
     */
    public void getMyMessage( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMyMessage( params ), observer);
    }



    /**
     * 家长端查询单条
     * @param observer
     */
    public void getMyMessageDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMyMessageDetail( params ), observer);
    }


    /**
     * 移动端-家长生成订单
     * @param observer
     */
    public void getPayInformation( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getPayInformation( params ), observer);
    }



    /**
     * 地区列表
     * @param observer
     */
    public void getAreaListTwo( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getAreaListTwo( params ), observer);
    }


    /**
     * 移动端-家长修改
     * @param observer
     */
    public void changeAdress( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.changeAdress( params ), observer);
    }



    /**
     *
     * App微信支付-家长端接口
     * @param observer
     */
    public void goToPay( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.goToPay( params ), observer);
    }





    /**
     *
     * 移动端-判断登录的账号是否有已经有班级
     * @param observer
     */
    public void getIsSelectClass( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getIsSelectClass( params ), observer);
    }



    /**
     *
     * 移动端-显示已经关联的班级的列表
     * @param observer
     */
    public void getMyClassList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMyClassList( params ), observer);
    }


    /**
     *
     * 移动端-删除 班级和家长解除关联
     * @param observer
     */
    public void exitClass( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.exitClass( params ), observer);
    }


    /**
     *
     *移动端-班级和家长建立关联
     * @param observer
     */
    public void joinClassTrue( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.joinClassTrue( params ), observer);
    }


    /**
     *
     *移动端-显示没有关联的班级的列表
     * @param observer
     */
    public void getNoJoinClass( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getNoJoinClass( params ), observer);
    }



    /**
     *
     *家长端-近一周数据统计
     * @param observer
     */
    public void getLearnWeekData( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getLearnWeekData( params ), observer);
    }


    /**
     *
     *家长端-近一月数据统计
     * @param observer
     */
    public void getLearnMonthData( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getLearnMonthData( params ), observer);
    }



    /**
     *
     *移动端-最近阅读文章分页查询（家长专用接口）
     * @param observer
     */
    public void getLearnArticleList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getLearnArticleList( params ), observer);
    }


    /**
     *
     *家长端-每日活跃记录
     * @param observer
     */
    public void addParentLogin( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.addParentLogin( params ), observer);
    }




    /**
     *
     *家长端-课程学习周记录分页
     * @param observer
     */
    public void getVideoLearnData( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getVideoLearnData( params ), observer);
    }


    /**
     * 图片/视频 上传接口
     * @param observer
     */
    public void uploadFileForMore(MultipartBody.Part[] files, Map<String, RequestBody> map, Observer<String> observer){
        setSubscribe(mService.uploadFileForMore(files,map),observer);
    }




    /**
     *
     *家长端-获取阿里OOS授权信息
     * @param observer
     */
    public void getOssKey( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getOssKey(params), observer);

    }


    /**
     *
     *移动端-动态列表
     * @param observer
     */
    public void getDongtaiList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getDongtaiList(params), observer);

    }



    /**
     *
     *移动端-点赞
     * @param observer
     */
    public void dongTaiZanTrue( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.dongTaiZanTrue(params), observer);

    }


    /**
     *
     *移动端-取消点赞
     * @param observer
     */
    public void dongTaiZanFalse( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.dongTaiZanFalse(params), observer);

    }


    /**
     *
     *移动端-动态详情
     * @param observer
     */
    public void getDongTaiDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getDongTaiDetail(params), observer);

    }



    /**
     *
     *移动端-评论列表
     * @param observer
     */
    public void getDongTaiCommentList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getDongTaiCommentList(params), observer);

    }


    /**
     *
     *移动端-点赞列表
     * @param observer
     */
    public void getDongTaiZanList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getDongTaiZanList(params), observer);

    }


    /**
     *
     *移动端-删除评论
     * @param observer
     */
    public void deleteComment( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.deleteComment(params), observer);

    }



    /**
     *
     *移动端-评论
     * @param observer
     */
    public void addDongTaiComment( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.addDongTaiComment(params), observer);

    }




    /**
     *
     *移动端-我的动态列表
     * @param observer
     */
    public void getMyDongTaiList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMyDongTaiList(params), observer);

    }


    /**
     *
     *移动端-动态消息列表
     * @param observer
     */
    public void getDongTaiNewsList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getDongTaiNewsList(params), observer);

    }


    /**
     *
     *移动端-发布动态
     * @param observer
     */
    public void SendDongTai( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.SendDongTai(params), observer);

    }









    /**
     *
     *移动端-删除动态
     * @param observer
     */
    public void deleteDongTai( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.deleteDongTai(params), observer);

    }



    /**
     *
     *家长端-获取所有可加入班级（标注已加入）
     * @param observer
     */
    public void getLoginAllClass( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getLoginAllClass(params), observer);

    }



    /**
     *
     *家长端-家长加入多个班级（包含已经加入的）
     * @param observer
     */
    public void joinLoginClassTrue( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.joinLoginClassTrue(params), observer);

    }


    /**
     *
     *家长端-查看通知首页面显示
     * @param observer
     */
    public void getNoticeFirst( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getNoticeFirst(params), observer);

    }




    /**
     *
     *家长端-查看通知首页面显示
     * @param observer
     */
    public void getNoticeList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getNoticeList(params), observer);

    }

    /**
     *
     *家长端-查看通知详情
     * @param observer
     */
    public void getClassNoticeDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getClassNoticeDetail(params), observer);

    }

    /**
     *
     *家长端-查看作业列表
     * @param observer
     */
    public void getHomeWorkList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getHomeWorkList(params), observer);

    }



    /**
     *
     *家长端-赞和点评消息列表
     * @param observer
     */
    public void getHomeWorkZanList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getHomeWorkZanList(params), observer);

    }



    /**
     *
     *家长端-查看发布作业的详细信息
     * @param observer
     */
    public void getHomeWorkDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getHomeWorkDetail(params), observer);

    }



    /**
     *
     *APp端-作业光荣榜
     * @param observer
     */
    public void getHomeWorkRank( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getHomeWorkRank(params), observer);

    }


    /**
     *
     *家长端-我的作品
     * @param observer
     */
    public void getMyHomeWorkDetail( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getMyHomeWorkDetail(params), observer);

    }


    /**
     *
     *家长端-发布作业完成的作品
     * @param observer
     */
    public void writeHomeWork( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.writeHomeWork(params), observer);

    }


    /**
     *
     *家长端-点赞（没有则点赞，点过赞则取消点赞）
     * @param observer
     */
    public void homeWorkZan( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.homeWorkZan(params), observer);

    }

    /**
     *
     *家长端-其他家长作品
     * @param observer
     */
    public void getOtherHomeWorkList( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getOtherHomeWorkList(params), observer);

    }






























    /**
     *
     *移动端-用户封面获取
     * @param observer
     */
    public void getFengMianImage( Map<String, Object> params , Observer<String> observer) {
        setSubscribe(mService.getFengMianImage(params), observer);

    }




    /**
     *
     *移动端-修改机构信息
     * @param observer
     */
    public void ceShiJson(RequestBody info , Observer<String> observer) {
        setSubscribe(mService.ceShiJson(info), observer);

    }




}
